package com.hospital.register.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户查询结果")
public class UserQueryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "微信openid")
    private String openid;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "证件类型")
    private String certificatesType;

    @ApiModelProperty(value = "证件编号")
    private String certificatesNo;

    @ApiModelProperty(value = "证件路径")
    private String certificatesUrl;

    @ApiModelProperty(value = "认证状态（0：未认证 1：认证中 2：认证成功 -1：认证失败）")
    private Byte authStatus;

    @ApiModelProperty(value = "状态（0：锁定 1：正常）")
    private Byte status;

    @ApiModelProperty(value = "其他参数")
    private OtherInfo param;

    @ApiModel("其它信息")
    @Data
    public static class OtherInfo implements Serializable {

        @ApiModelProperty("认证状态——中文")
        private String authStatusString;

        @ApiModelProperty("状态——中文")
        private String statusString;
    }

}

